home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- Set_CDcounter(6)
- initLesson()
- CheckForTagWd()
- end
-
- on HideLastStep
- CursorTurnOff()
- UpdateCursors(16, 0)
- UpdateCursors(17, 0)
- unLoadCast()
- RestoreHilites()
- end
-
- on TheinitCursor
- initCursorCastNum()
- initCursorList(1)
- set CursorCastNum to getCursor(2)
- cursor([CursorCastNum, CursorCastNum + 1])
- end
-
- on checkScreenStatus
- CheckRollOver()
- CheckSnakeStatus()
- go(the frame)
- end
-
- on BlinkNext
- if (the timer > getTimer()) and not soundBusy(2) then
- startTimer()
- if the name of cast the castNum of sprite get_NEXTSprite() = "NEXT" then
- set the castNum of sprite get_NEXTSprite() to the number of cast "NEXT_E"
- else
- set the castNum of sprite get_NEXTSprite() to the number of cast "NEXT"
- end if
- end if
- end
-
- on GoNext
- if not get_Disabled() then
- if Get_NEXT() <> 0 then
- UpdateCursors(16, 3)
- UpdateCursors(17, 3)
- end if
- sound stop 2
- if Get_NEXT() > 3 then
- GoEndMovie()
- else
- go("t" & Get_NEXT())
- end if
- Set_NEXT(Get_NEXT() + 1)
- end if
- end
-
- on stopMovie
- sound stop 1
- unLoad()
- setEmptyCursor()
- end
-
- on GoNextMovie
- PlaySound("GOSOUND.SO1")
- SaveHilite()
- Add_CDcounter(1)
- set cdNum to Get_CDcounter()
- set movieName to item cdNum of Get_CurrentSnakeScreens()
- go("INIT" & Get_ScreenSubject(), movieName & ".GEO")
- end
-
- on playTheTSound theTSnd
- PlaySound("NCT03060.S0" & theTSnd)
- end
-
- on GoEndMovie
- global ReturnToMenu
- SaveSeenScreens()
- if (ReturnToMenu = "SUBJECT") and (Get_ScreenSubject() <> "11") and (Get_ScreenSubject() <> "00") then
- set theNum to integer(Get_ScreenSubject())
- go(1, "NCS" & Get_ScreenSubject() & "010.GEO")
- else
- if ReturnToMenu = "TOOL" then
- go(1, "NC_MM020.GEO")
- else
- if ReturnToMenu = "SECTION" then
- go(1, "NC_MM040.GEO")
- else
- if ReturnToMenu = "MAIN MENU" then
- go(1, "NC_MM010.GEO")
- else
- go(1, "NC_MM010.GEO")
- end if
- end if
- end if
- end if
- end
-
- on CursorTurnOff
- repeat with i = 1 to 4
- UpdateCursors(22 + i, 0)
- puppetSprite(22 + i, 0)
- end repeat
- updateStage()
- end
-
- on handleExit
- sound stop 2
- repeat with i = 28 to 31
- UpdateCursors(i, 0)
- end repeat
- go("t3b")
- end
-
- on handleShowBtn theSpriteNum
- go("btn" & theSpriteNum)
- puppetSprite(theSpriteNum + 19, 1)
- set the castNum of sprite (theSpriteNum + 19) to the number of cast ("BTN" & theSpriteNum & "_V")
- UpdateCursors(31, 3)
- UpdateCursors(29, 2)
- UpdateCursors(30, 2)
- UpdateCursors(28, 2)
- end
-